import http from '@/service/request/index.js'

// 注册
export function userRegisterApi(data){
	return http.post('/api/shop/register',data)
}
// 登录
export function userLoginApi(data){
	return http.post('/api/shop/login',data)
}
// 充值余额(需要token)
export function userRechargeApi(data){
	return http.post('/api/shop/user/recharge',data)
}
// 查看余额(需要token)
export function userBalanceApi(){
	return http.get('/api/shop/user/balance')
}